package com.yayo.mangement.info;

import com.yayo.mangement.authentication.annotations.ExcelProperty;
import com.yayo.mangement.dto.SysRoleDTO;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString
public class UserInfo {

    @ExcelProperty
    private Long userId;
    private Long tenantId;
    @ExcelProperty("姓名")
    private String userName;
    @ExcelProperty("用户名")
    private String userLoginName;
    private String userPassword;
    private String userPic;
    @ExcelProperty("电话")
    private String userMobile;
    @ExcelProperty("电子邮箱")
    private String userEMail;
    @ExcelProperty("最后登录日期")
    private String userLastLogin;

    private String userAvatar;

    private String introduction;

    private List<MenuInfo> menuInfoList;

    private List<SysRoleDTO> roles;

}
